$(function () {
    $.ajax({
        url: "/system/base",
        async: true,
        dataType: 'json',
        success: function (data) {
            if (data.code == "1") {
                $('title').html(data.data.title)
                $('meta[name="keywords"]').attr('content', data.data.keywords)
                $('meta[name="description"]').attr('content', data.data.description)
                $('div[class="header"]').html(data.data.title)
                $('div[class="footer"]').html(data.data.copyright)
            }
        },
        error: function (data) {
            console.log("------------->error<-------------")
            console.log(data);
        },
    });
});